<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    var a = '郭荣坤'
    let num = a.charCodeAt()
    console.log(a.charCodeAt());
    console.log(String.fromCharCode(num));
    console.log('\u4e2d\u5348\u5403\u82b1\u56ed\u9910\u5385');
</script>   